package com.shopping.nacos.dto;

import com.alibaba.nacos.api.config.annotation.NacosValue;
import lombok.Data;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @className: DataSource
 * @Description: TODO
 * @author: JiaZhenpeng
 * @data: 2022/7/300:24
 */
@Data
@ToString
@Component
public class MyDataSource {

    @Value("${star.datasource.password}")
    private String password;

}
